﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Search.aspx.cs" Inherits="Flow_Info_Search" %>

<%@ Import Namespace="TarreOA.TarreOAModels" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <link rel="Stylesheet" type="text/css" href="../Styles/right_style.css" />
    <script type="text/javascript" src="../Scripts/jquery.ui/js/jquery.js"></script>
    <style type="text/css">
        <!--
        html{ scrollbar-base-color: #dbecf8; scrollbar-arrow-color: #2a8ed1; scrollbar-track-color: #bdddf2; scrollbar-3dlight-color: #2886c5; scrollbar-darkshadow-color: #2886c5;
        scrollbar-face-color: #dbecf8; scrollbar-shadow-color: #dbecf8;  }
        -->
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="sub_right_top">
        <div class="hdm_footer">
            <div style="height: 13px; overflow: hidden;">
            </div>
        <% if (list != null && list.Count > 0)
           { %>
        <table width="97%" border="1" cellpadding="0" cellspacing="0" bordercolor="#72b0d8"
                style="border-collapse: collapse; font-size: 12px;" align="center">
            <tr align="center" height="30px"  bgcolor="#b1d5ef">
                <td>
                    <b>工作文号</b>
                </td>
                <td>
                    <b>开始时间</b>
                </td>
                <td>
                    <b>状态</b>
                </td>
                <td>
                    <b>查看</b>
                </td>
            </tr>
            <% foreach (FlowFront_WorkInfo ffwi in list)
               { %>
            <tr align="center" height="20px">
                <td nowrap>
                    <%=ffwi.New_work_name %>
                </td>
                <td nowrap width="150px">
                    <%=ffwi.Start_time.ToString() %>
                </td>
                <td nowrap width="100px">
                    <%=ffwi.Prc_state_name %>
                </td>
                <td nowrap width="200px">
                    <a href="WorkFormViewIndex1.aspx?WR_ID=<%=ffwi.New_work_id %>&SO_TO=1&jumpType=3">
                        表单</a> <a href="StatShowFeedBack.aspx?WR_ID=<%=ffwi.New_work_id %>">
                            签办</a> <a href="WorkProcessShow.aspx?WR_ID=<%=ffwi.New_work_id %>">流程图</a>
                    <a href="DeleteWork.aspx?WR_ID=<%=ffwi.New_work_id %>" onclick="return confirm('您确定删除当前工作吗？')">
                        删除</a>
                </td>
            </tr>
            <% } %>
        </table>
        <% }
           else
           { %>
        <table width="97%" border="1" cellpadding="0" cellspacing="0" bordercolor="#72b0d8"
                style="border-collapse: collapse; font-size: 12px;" align="center">
            <tr  bgcolor="#b1d5ef">
                <td align="center" height="30px">
                    <b>提示信息框</b>
                </td>
            </tr>
            <tr>
                <td align="center" style="height: 64px">
                    没有符合条件的工作^_^!!!
                </td>
            </tr>
        </table>
        <% } %>
    </div>
    </div>
    </form>
</body>
</html>
